# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class SpiderDemo9Item(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 明确爬取的目标
class JingDoCommentItem(scrapy.Item):
    user_id = scrapy.Field()
    username = scrapy.Field()
    comment = scrapy.Field()
    score = scrapy.Field()
    create_time = scrapy.Field()


# 微博文章
class WeiBoArticleItem(scrapy.Item):
    id = scrapy.Field()
    comments_count = scrapy.Field()
    created_at = scrapy.Field()
    source = scrapy.Field()
    reposts_count = scrapy.Field()
    attitudes_count = scrapy.Field()
    text = scrapy.Field()
    user_id = scrapy.Field()


# 用户
class UserItem(scrapy.Item):
    id = scrapy.Field()
    gender = scrapy.Field()
    screen_name = scrapy.Field()
    followers_count = scrapy.Field()
    follow_count = scrapy.Field()

# 评论
class CommentItem(scrapy.Item):
    comment_id = scrapy.Field()
    comment_time = scrapy.Field()
    like_count = scrapy.Field()
    comment_text = scrapy.Field()
    user_id = scrapy.Field()
    weibo_id = scrapy.Field()